package edu.wata.domain;

import edu.wata.Constants;

public class Page<T> {

	private int RowNumber = Constants.ROW_NUMBER;
	private int totalRow;
	private int totalPage;
	private int currentPage;

	private String keyword;

	private T pageData;

	public Page(int currentPage) {
		super();
		this.currentPage = currentPage;
	}

	public Page(int rowNumber, int totalRow, int totalPage, int currentPage, String keyword, T pageData) {
		super();
		RowNumber = rowNumber;
		this.totalRow = totalRow;
		this.totalPage = totalPage;
		this.currentPage = currentPage;
		this.keyword = keyword;
		this.pageData = pageData;
	}

	public int getRowNumber() {
		return RowNumber;
	}

	public void setRowNumber(int rowNumber) {
		RowNumber = rowNumber;
	}

	public int getTotalRow() {
		return totalRow;
	}

	public void setTotalRow(int totalRow) {
		this.totalRow = totalRow;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public T getPageData() {
		return pageData;
	}

	public void setPageData(T pageData) {
		this.pageData = pageData;
	}

}
